package com.jindy.module.statement.mapper;

import java.util.List;
import com.jindy.module.statement.domain.StatementApproval;

/**
 * 对账单审批Mapper接口
 * 
 * @author jindy
 * @date 2023-03-18
 */
public interface StatementApprovalMapper 
{
    /**
     * 查询对账单审批
     * 
     * @param id 对账单审批主键
     * @return 对账单审批
     */
    public StatementApproval selectStatementApprovalById(Long id);

    /**
     * 查询对账单审批列表
     * 
     * @param statementApproval 对账单审批
     * @return 对账单审批集合
     */
    public List<StatementApproval> selectStatementApprovalList(StatementApproval statementApproval);

    /**
     * 新增对账单审批
     * 
     * @param statementApproval 对账单审批
     * @return 结果
     */
    public int insertStatementApproval(StatementApproval statementApproval);

    /**
     * 修改对账单审批
     * 
     * @param statementApproval 对账单审批
     * @return 结果
     */
    public int updateStatementApproval(StatementApproval statementApproval);

    /**
     * 删除对账单审批
     * 
     * @param id 对账单审批主键
     * @return 结果
     */
    public int deleteStatementApprovalById(Long id);

    /**
     * 批量删除对账单审批
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStatementApprovalByIds(Long[] ids);
}
